﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddSolutions.aspx.cs" Inherits="EnhancedSolutions.Admin.BramNuyts.EnhancedSolutions.AddSolutions" MasterPageFile="~/_admin/admin.master" %>

<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="/_controltemplates/ButtonSection.ascx" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
 <style>
 .s4-specialNavLinkList
 {
    display:none !important;
 }
 </style>
</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
<div style="text-align: right; padding: .2em;"><a href="http://bramnuyts.wordpress.com" target="_blank">http://bramnuyts.wordpress.com</a></div>
<table border="0" width="100%" cellspacing="0" cellpadding="0" class="ms-descriptiontext">
    <wssuc:InputFormSection ID="AddSolutionSection" runat="server" Title="Add Solution"
        Description="Specify the solution package which will be uploaded to the farm.">
        <template_inputformcontrols>
                <wssuc:InputFormControl ID="AddSolutionControl" runat="server" LabelText="Upload Path:" LabelAssociatedControlId="WspUpload">
                    <Template_Control>
                        <asp:FileUpload ID="WspUpload" runat="server" Width="100%" ></asp:FileUpload>
                        <asp:Label ID="WspUploadStatus" runat="server" Text=""></asp:Label>
                    </Template_Control>
                </wssuc:InputFormControl>
            </template_inputformcontrols>
    </wssuc:InputFormSection>
    <wssuc:InputFormSection ID="DeploySettingsSection" runat="server" Title="Deploy Settings"
        Description="Choose your deploy setting. None, will do nothing but add the solution to the solutionstore. Upgrade will try to upgrade the existing solution. Quick Deploy will try to deploy the solution after it was added.<br><b>Warning:</b> Quick Deploy might add assemblies to the GAC.">
        <template_inputformcontrols>
                <wssuc:InputFormControl ID="DeploySettingsControl" runat="server" LabelText="Deploy Settings:" LabelAssociatedControlId="DeploySettingsRadioList">
                    <Template_Control>
                        <asp:RadioButtonList ID="DeploySettingsRadioList" runat="server">
                            <asp:ListItem runat="server" Value="None" Selected="True"></asp:ListItem>
                            <asp:ListItem runat="server" Value="Upgrade"></asp:ListItem>
                            <asp:ListItem runat="server" Value="Quick Deploy"></asp:ListItem>
                        </asp:RadioButtonList>
                    </Template_Control>
                </wssuc:InputFormControl>
            </template_inputformcontrols>
    </wssuc:InputFormSection>
    <wssuc:ButtonSection runat="server">
        <template_buttons>
			<asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth" Text="OK" id="BtnSubmitBottom" Enabled="true" OnClick="Btn_Ok_Click" />
		</template_buttons>
    </wssuc:ButtonSection>
</table>
</asp:Content>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
Add Solutions Page
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
Add Solutions
</asp:Content>
